COMMONLIB_CPPFLAGS = -I$(top_srcdir)/$(COMMONLIB_INCLUDE_DIR)
COMMONLIB_LIB = $(top_builddir)/$(COMMONLIB_LIBRARY)

EXTRA_DIST = kmp.cpp.bak kmp.h.bak

noinst_LTLIBRARIES = libstardict.la

libstardict_la_SOURCES = \
	lib.cpp lib.h	\
	dictziplib.cpp dictziplib.hpp	\
	distance.cpp distance.h	\
	mapfile.hpp file.hpp	\
	my_global.h m_ctype.h m_string.h ctype-mb.c ctype-utf8.c ctype-uca.c	\
	collation.c collation.h \
	data.hpp data.cpp \
	stddict.cpp stddict.hpp \
	parsedata.cpp parsedata.h	\
	treedict.cpp treedict.hpp	\
	common.cpp	\
	common.hpp

libstardict_la_LIBADD = $(COMMONLIB_LIB)

AM_CPPFLAGS = @STARDICT_CFLAGS@ -I$(top_builddir) -I$(top_srcdir) $(COMMONLIB_CPPFLAGS)

